<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <div>
        <input id="userName" />
        <button id="connectBtn" >连接至111</button>
        <button id="leaveBtn" >退出</button>
    </div>
    <div>
        <div style="display: inline-block;" >
            <h3>Local</h3><br />
            <video id="localVideo" style="width:500px;height: 320px;" autoplay="autoplay"  ></video>
        </div>
        <div style="display: inline-block;" >
            <h3>Remote</h3><br />
            <video id="remoteVideo" style="width:500px;height: 320px;" autoplay="autoplay" ></video>
        </div>
    </div>
</body>
<script src="./js/socket.io-client.js"></script>
<script src="./js/room2.js" ></script>
</html>